<?php
/************************FoxPHP威客系统************************/
/*                                                            */
/*  FoxPHP.Com (C)2006-2016 FoxPHP Inc.                       */
/*  This is NOT a freeware, use is subject to license terms   */
/*  FoxPHP威客系统是商业软件,使用于商业用途请购买授权         */
/*  V3.0 2016.3                                               */
/*  foxphp@aliyun.com                                         */
/*  http://www.foxphp.com                                     */
/*                                                            */
/**************************************************************/

namespace Buyer\Controller;
use Think\Controller;
class ReportController extends \Member\Controller\IndexController {

    public function indexAction(){
		$report=new \Report\Model\ReportModel();
		$data=$report->GetReport(1);
		$this->assign('list',$data['list']);
		$this->assign('page',$data['page']);
		$this->assign('type',1);
		$this->display();	
    }
	
	public function otherAction(){
		$report=new \Report\Model\ReportModel();
		$data=$report->GetReport(2);
		$this->assign('list',$data['list']);
		$this->assign('page',$data['page']);
		$this->assign('type',2);
		$this->display('Buyer/Report/index');	
	}

}